package com.zem.imos.Entity.Params;

import lombok.Data;

@Data
public class ParamsUser {
    private Long id;
    private Long userId;

    private String username;
    private String password;
    private Integer gender;
    private String name;
    private String avatar;
    private Integer age;
    private Integer role;
    private String phone;
    private String idNum;

    public Integer getGender() {
        if(this.gender == null)
            return 0;
        else return this.gender;
    }

    public Integer getRole() {
        if(this.role == null)
            return 0;
        else return this.role;
    }
}
